Skip to content

Just refspace fixes - #4539

Merged
roystgnr merged 7 commits into
libMesh:develfrom
roystgnr:just_refspace_fixes
Sep 2, 2026
Merged

Just refspace fixes#4539
roystgnr merged 7 commits into
libMesh:develfrom
roystgnr:just_refspace_fixes

Conversation

@roystgnr

@roystgnr roystgnr commented Sep 2, 2026

Copy link
Copy Markdown
Member

I thought my consolidation in #4538 was very clever, but multithreaded recipes disagree, so let's just see if we can at least merge the fixes and new unit tests without it.

I don't think this is a slow one but it's worth logging.
I'm not sure how we had the wrong data here.
Rochi found bugs in our higher-order Pyramids reference elements, and
these tests catch them.
@roystgnr

roystgnr commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

Shoot, did I get the restriction of those unit tests into the wrong commit?

@rochi00 rochi00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fixes for the master_points are correct. The values inside get_refspace_nodes() are also correct.

@moosebuild

Copy link
Copy Markdown

Job Coverage, step Generate coverage on 2c16ec7 wanted to post the following:

Coverage

0a0a9d #4539 2c16ec
Total Total +/- New
Rate 65.94% 65.94% +0.01% 100.00%
Hits 79392 79399 +7 4
Misses 41014 41007 -7 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

@roystgnr

roystgnr commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

Test failure is downstream and unrelated

@roystgnr
roystgnr merged commit 695dc43 into libMesh:devel Sep 2, 2026
22 of 23 checks passed
@roystgnr roystgnr mentioned this pull request Sep 2, 2026
rochi00 added a commit to rochi00/libmesh that referenced this pull request Sep 3, 2026
Only the vertices' reference coordinates are tabulated: every
higher-order node sits at the centroid of its subentity's vertices
(mid-edge nodes at edge midpoints, face nodes at face-corner
centroids, interior nodes at the vertex centroid), so
try_reference_node() computes them through the same side/edge tables
instead of duplicating ~500 lines of coordinates.  The cubic EDGE4
trisection nodes are the one true exception.  This derivation is what
flagged the Pyramid reference-point inconsistencies fixed in libMesh#4539.
rochi00 added a commit to rochi00/libmesh that referenced this pull request Sep 3, 2026
Only the vertices' reference coordinates are tabulated: every
higher-order node sits at the centroid of its subentity's vertices
(mid-edge nodes at edge midpoints, face nodes at face-corner
centroids, interior nodes at the vertex centroid), so
try_reference_node() computes them through the same side/edge tables
instead of duplicating ~500 lines of coordinates.  The cubic EDGE4
trisection nodes are the one true exception.  This derivation is what
flagged the Pyramid reference-point inconsistencies fixed in libMesh#4539.
rochi00 added a commit to rochi00/libmesh that referenced this pull request Sep 3, 2026
Only the vertices' reference coordinates are tabulated: every
higher-order node sits at the centroid of its subentity's vertices
(mid-edge nodes at edge midpoints, face nodes at face-corner
centroids, interior nodes at the vertex centroid), so
try_reference_node() computes them through the same side/edge tables
instead of duplicating ~500 lines of coordinates.  The cubic EDGE4
trisection nodes are the one true exception.  This derivation is what
flagged the Pyramid reference-point inconsistencies fixed in libMesh#4539.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants